package org.example.myleet.p1178;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(Assert.isPass(new int[]{1,1,3,2,4,0}, solution.findNumOfValidWords(new String[]{"aaaa","asas","able","ability","actt","actor","access"}, new String[]{"aboveyz","abrodyz","abslute","absoryz","actresz","gaswxyz"})));
        Assert.isTrue(Assert.isPass(new int[]{0,1,3,2,0}, solution.findNumOfValidWords(new String[]{"apple","pleas","please"}, new String[]{"aelwxyz","aelpxyz","aelpsxy","saelpxy","xaelpsy"})));
        Assert.isTrue(Assert.isPass(new int[]{2,0}, solution.findNumOfValidWords(new String[]{"apple","pleas","please"}, new String[]{"saelpxy","xaelpsy"})));
    }
}
